<!--
 * @Author: 曹捷
 * @Date: 2019-08-23 11:58:06
 * @LastEditors: 曹捷
 * @LastEditTime: 2019-09-29 10:42:32
 * @Description: 首页  左右更多模板
 -->
<template>
  <div class="back obit-more">
    <div>
      <span class="title">{{title}}</span>
      <span @click="toMore" class="more">更多></span>
    </div>
    <slot />
  </div>
</template>

<script>
export default {
  props: {
    title: {
      type: String
    },
    more: {
      type: String,
      default: '更多>'
    }
  },
  methods: {
    toMore() {
      this.$emit('more')
    }
  }
}
</script>

<style lang="scss">
</style>